package com.itzmn.java.javase.test;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

/**
 * @Author: 张梦楠
 * @Date: 2018/12/2 19:19
 * 简书：https://www.jianshu.com/u/d611be10d1a6
 * 码云：https://gitee.com/zhangqiye
 * @Description:
 */
public class Chain {

    int i;
    public static void main(String[] args) {

        ArrayList<String> strings = new ArrayList<>();
        strings.add("1");
        strings.add("2");
        strings.add("3");
        strings.add("4");
        String[] ints = new String[2];
        String[] ts = strings.toArray(ints);
        System.out.println(ts.length);
        new Chain().test();
    }

    public void test(){
    }
}
